//import com.google.jplurk.*
//
//println ship.client.getPollingUnreadCount()
//
//// read polling plurks, save now() first for update offset
//tmp_dateoffset = DateTime.now()
//
//print ship.dateoffset.toTimeOffset()
//print ', '
//print tmp_dateoffset.toTimeOffset()
//println ''
//
//res = ship.client.getPollingPlurks(ship.dateoffset, ship.__limit)
//
//ship.dateoffset = tmp_dateoffset
//
//ship.target_plurks = []
//
//if (res) {
//	for (def i=0; i<res.plurks.length(); i++) {
//		//ship.active_plurks[res.plurks.get(i).plurk_id] = res.plurks.get(i)
//		ship.active_plurks << res.plurks.get(i)
//		ship.target_plurks << res.plurks.get(i)
//	}
//}

